package com.ruoyi.common.db;

import java.util.List;

/**
 * @author zhangli
 * @since 2023/11/7
 */
public interface DbService<KeyType,Po> {

    Po getById(KeyType id);

    List<Po> selectAll();

    boolean save(Po po);

    boolean save(List<Po> poList);


}
